package com.cw.jeeyt.controller.process;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.cw.jeeyt.common.web.BaseController;

/**
 * 模型定义控制器
 *
 * @author chenw
 * @date 2019/3/24 16:36
 */
@Controller
@RequestMapping("/modler")
public class ModlerController extends BaseController {
    /**
     * 跳转到列表查询页面
     *
     * @param id
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "/index")
    public ModelAndView query(String id) throws Exception {

        ModelAndView mv = new ModelAndView("modler/index");
        mv.addObject("id", id);
        return mv;
    }
}
